﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SnmpForm.ApBatchConfig
{
    class BatchRebootTask:BatchTask
    {
        public BatchRebootTask(FrmApBatchConfig objForm,
            List<BusinessWrapper.Ap> aps)
            : base(objForm, aps)
        {
        }

        public override void ApRequestAction(BusinessWrapper.Ap ap)
        {
            ap.Reboot();
        }

        public override string OnApRequestSucess()
        {
            string strStatus = "重启成功";
            return strStatus;
        }
    }
}
